//
//  HMDetailOrderTableViewCell.m
//  HMSupplier
//
//  Created by haohao on 2017/7/6.
//  Copyright © 2017年 haohao. All rights reserved.
//

#import "HMDetailOrderTableViewCell.h"
#import "TodayOrder.h"
@implementation HMDetailOrderTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    _totalWeightLabel.textColor = kff0000;
    // Initialization code
}

- (void)setModel:(TodayOrder *)model {
    _model = model;
    _totalWeightLabel.text = [NSString stringWithFormat:@"%@%@", _model.ct,model.weight];
    _nameLabel.text = model.item_name;
    [_imageVI sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@", kImageUrl, _model.logo]] placeholderImage:[UIImage imageNamed:@"commodity_1"]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
